const BASE_WINDOW_WIDTH = 1028;
const RATIO = window.innerWidth / BASE_WINDOW_WIDTH;
export function convert(val = 1) {
  if (RATIO > 1) {
    return val * RATIO;
  }
  return val;
}

export function convertItemGap() {
  if (RATIO > 1) {
    return 10;
  }
  return 0;
}
